package com.atguigu.scan;

import org.springframework.stereotype.Component;

//这里的value就相当bean标签上的id，value可以不写默认类的小写
@Component(value="user")
public class User {
    private String name;
}
